#! /usr/bin/expect
spawn ./redirection/autoinputshell1.sh
expect "enter number:"
send "1\n"
expect "enter name:"
send "lufubo\n"
expect off